package com.itHsuSE.demo8;

import javax.swing.*;

/**
 * @author Hsu琛君珩
 * @ClassName:Test3
 * @date 2023-12-19
 * @apiNote
 * @Version: v1.0
 */

public class Test3 {
    public static void main(String[] args) {
        JFrame jf=new JFrame("Frame");
        jf.setBounds(400,300,300,400);

        JLabel jl=new JLabel("账号:",SwingConstants.LEFT);
        jf.add(jl);

        jf.setVisible(true);
        jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
}
